#ifndef MAINWINDOWTCP_H
#define MAINWINDOWTCP_H

#include <QMainWindow>
#include <QTcpSocket>
#include <QHostAddress>
#include <QDebug>

#include "mainwindowaccount.h"

namespace Ui {
class MainWindowTcp;
}

class MainWindowTcp : public QMainWindow
{
    Q_OBJECT

public:
    QTcpSocket *tcpSocket;

    explicit MainWindowTcp(QWidget *parent = nullptr);
    ~MainWindowTcp();

public slots:
    void onConnectedSlot();
    void onRecvDataSlot();

private:
    Ui::MainWindowTcp *ui;


};

#endif // MAINWINDOWTCP_H
